package cn.doitedu.vueapi.pojo.tg;

import cn.doitedu.vueapi.pojo.olap.User;
import cn.doitedu.vueapi.pojo.tg.AdUser;

public class Result<T> {
    //响应码
    private int code;

    private String msg;

    private T user;

    public Result() {
    }

    public Result(int code, T user ,String msg) {
        this.code = code;
        this.user = user;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getUser() {
        return user;
    }

    public void setUser(T user) {
        this.user = user;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}